﻿@Cms.CssLink("Themes/Admin/Styles/frontend-toolbar.css")
@if (! ViewBag.IsPreview) {
	<div id="cmstoolbar">
		<div id="title">
			CMS toolbar
		</div>
		<ul>
			@if (ViewBag.PageId != null) {
				<li>@Html.ActionLink("Edit this page", "Update", "Pages", new { id = ViewBag.PageId }, null)</li>
			}
			<li>@Html.ActionLink("Pages", "Index", "Pages")</li>
			<li>@Html.ActionLink("Navigation", "Index", "Sitemap")</li>
			<li>@Html.ActionLink("Files", "Index", "Files")</li>
			<li>@Html.ActionLink("Site settings", "Index", "Site")</li>
		</ul>
	</div>
}